<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:tes="http://testing.ws.adapative.esb.uy.edu.fing.org/">

	<xsl:strip-space elements="*" />
		
	<xsl:output method="xml" media-type="application/xhtml+xml" omit-xml-declaration="yes" encoding="utf-8" indent="yes" />
	
	<xsl:template match="/">				
		<xsl:apply-templates select="soapenv:Envelope" />
	</xsl:template>

	<!-- Process Envelope Object -->
	<xsl:template match="soapenv:Envelope">	
		<xsl:copy>
			<xsl:apply-templates select="soapenv:Header" />		
			<xsl:apply-templates select="soapenv:Body" />	
		</xsl:copy>
	</xsl:template>
	
	<!-- Process Header Object -->
	<xsl:template match="soapenv:Header">
	 	<xsl:copy> 
	 		 <xsl:apply-templates select="@*|node()"/>
	 	</xsl:copy>
	</xsl:template>
	
	<!-- Process Body Object -->
	<xsl:template match="soapenv:Body">
		<xsl:copy>
			<xsl:call-template name="funtionName" />
	 	</xsl:copy>
	</xsl:template>
	
	<!-- Process Function Object -->
	<xsl:template name="funtionName">
		<xsl:apply-templates select="@*|node()"/>
	</xsl:template>
	
	<!-- ###################################### AUXILIARY FUNCTIONS ###################################### -->
	
	<!-- Copy Object Recursive -->
	<xsl:template match="@*|node()">
		<xsl:copy>
			<xsl:apply-templates select="@*|node()"/>
		</xsl:copy>
	</xsl:template>
	
	<!-- ###################################### PROCESS CHANGE IN WSDL ###################################### -->

	<!-- Process Add Parameter -->
	<xsl:template match="tes:echo1">
	  	<xsl:copy>
			<first1>value1</first1>
			<xsl:apply-templates select="@*|node()"/>
  		</xsl:copy>
	</xsl:template>
	<!-- Process Add Parameter -->
	<xsl:template match="tes:echo2">
	  	<xsl:copy>
			<first2>value2</first2>
			<first22>value22</first22>
			<xsl:apply-templates select="@*|node()"/>
  		</xsl:copy>
	</xsl:template>
	<!-- Process Add Parameter -->
	<xsl:template match="tes:echo3">
	  	<xsl:copy>
			<first3>value3</first3>
			<xsl:apply-templates select="@*|node()"/>
  		</xsl:copy>
	</xsl:template>
</xsl:stylesheet>